Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the need of staticlib target to have a build.rs customization #2

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

yvan-sraka
Copy link
Owner

src/build.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@iquerejeta iquerejeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some problems with naming prefixes.

src/build.rs Outdated Show resolved Hide resolved
src/build.rs Outdated Show resolved Hide resolved
src/build.rs Outdated Show resolved Hide resolved
src/build.rs Outdated Show resolved Hide resolved
src/build.rs Outdated Show resolved Hide resolved
@yvan-sraka yvan-sraka self-assigned this Feb 13, 2023
@yvan-sraka yvan-sraka marked this pull request as draft May 26, 2023 09:34
KtorZ added a commit to CardanoSolutions/cardano-node that referenced this pull request Sep 27, 2023
  This is hopefully temporary until I figure out why GHC can't compile
  cardano-node tests when relying on the 'cddl' package. At the moment,
  it panics with:

  ```
  <command line>: dlopen([...]/dist-newstyle/build/aarch64-osx/ghc-8.10.7/cddl-1.0.0/build/libHScddl-1.0.0-inplace-ghc8.10.7.dylib, 0x0005):
    symbol not found in flat namespace '_CFRelease'
  ```

  It could be similar to the issue describe here:
  yvan-sraka/cargo-cabal#2; and a possible
  work-around could be to build a dynamic library from Rust instead of
  static one.
neilmayhew pushed a commit to CardanoSolutions/cardano-node that referenced this pull request Nov 1, 2023
  This is hopefully temporary until I figure out why GHC can't compile
  cardano-node tests when relying on the 'cddl' package. At the moment,
  it panics with:

  ```
  <command line>: dlopen([...]/dist-newstyle/build/aarch64-osx/ghc-8.10.7/cddl-1.0.0/build/libHScddl-1.0.0-inplace-ghc8.10.7.dylib, 0x0005):
    symbol not found in flat namespace '_CFRelease'
  ```

  It could be similar to the issue describe here:
  yvan-sraka/cargo-cabal#2; and a possible
  work-around could be to build a dynamic library from Rust instead of
  static one.
@yvan-sraka yvan-sraka marked this pull request as ready for review March 12, 2024 14:53
@yvan-sraka yvan-sraka merged commit 8a6a36a into main Mar 18, 2024
1 check failed
@yvan-sraka yvan-sraka deleted the staticlib-build.rs branch March 18, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants